gtk4.git
6 years agowindow: Drop some x11-specific apis
Matthias Clasen [Sat, 20 Apr 2019 01:13:41 +0000 (01:13 +0000)]
window: Drop some x11-specific apis

The skip-taskbar, skip-pager and urgency hints were
only ever implemented for X11, and are not very useful
with modern desktops. Relegate the functionality to
x11 backend api, and drop the GtkWindow api.

6 years agoFix a compiler warning
Matthias Clasen [Sat, 23 Mar 2019 04:13:15 +0000 (00:13 -0400)]
Fix a compiler warning

6 years agowayland: Improve debug output for events
Matthias Clasen [Wed, 20 Mar 2019 00:04:49 +0000 (20:04 -0400)]
wayland: Improve debug output for events

We were missing surfaces in a few places.

6 years agoMerge branch 'cairo-borders-fixage' into 'master'
Benjamin Otte [Fri, 19 Apr 2019 01:48:59 +0000 (01:48 +0000)]
Merge branch 'cairo-borders-fixage' into 'master'

Cairo borders fixage

See merge request GNOME/gtk!765

6 years agorendernode: Fix border rendering
Benjamin Otte [Fri, 19 Apr 2019 01:37:55 +0000 (03:37 +0200)]
rendernode: Fix border rendering

This fixed the reftest introduced in the previous commit.

I'm using a mesh gradient here instead of drawing 4 individual sides to
avoid artifacts when those sides overlap in rounded corners.

6 years agoreftests: Add a reftest for rendering failure
Benjamin Otte [Fri, 19 Apr 2019 00:28:37 +0000 (02:28 +0200)]
reftests: Add a reftest for rendering failure

c18d2872f292607c921c959e6e97c4d6635bdfd2 introduced a misrendering in
the Cairo fallback rendering code while fixing another one.

This test exposes that problem.

Related: !756

6 years agowindow: Fix an oversight
Matthias Clasen [Thu, 18 Apr 2019 20:15:39 +0000 (20:15 +0000)]
window: Fix an oversight

We must still reset cursors.

6 years agoMerge branch 'cursor-things' into 'master'
Matthias Clasen [Thu, 18 Apr 2019 19:38:56 +0000 (19:38 +0000)]
Merge branch 'cursor-things' into 'master'

Cursor things

See merge request GNOME/gtk!764

6 years agowindow: Stop juggling cursors
Matthias Clasen [Thu, 18 Apr 2019 19:07:01 +0000 (15:07 -0400)]
window: Stop juggling cursors

We have convenience api for this.

6 years agotext: Stop juggling cursors
Matthias Clasen [Thu, 18 Apr 2019 19:06:35 +0000 (15:06 -0400)]
text: Stop juggling cursors

We have a convenience api for this.

6 years agolabel: Stop juggling cursors
Matthias Clasen [Thu, 18 Apr 2019 19:06:09 +0000 (15:06 -0400)]
label: Stop juggling cursors

We have a convenience api for this.

6 years agoMerge branch 'style-prop-change' into 'master'
Matthias Clasen [Thu, 18 Apr 2019 18:20:06 +0000 (18:20 +0000)]
Merge branch 'style-prop-change' into 'master'

Style prop change

See merge request GNOME/gtk!763

6 years agocss: Kerning affects text size
Matthias Clasen [Thu, 18 Apr 2019 18:08:10 +0000 (18:08 +0000)]
css: Kerning affects text size

Thats the point. And we were missing the proper
flags to make GTK do the right thing when
changing font-kerning in the inspector.

6 years agocss: Some updates to internal docs
Matthias Clasen [Thu, 18 Apr 2019 18:04:58 +0000 (18:04 +0000)]
css: Some updates to internal docs

Minor corrections to the AFFECTS flags docs.

6 years agoMerge branch 'letterspacing-resize' into 'master'
Matthias Clasen [Thu, 18 Apr 2019 17:46:35 +0000 (17:46 +0000)]
Merge branch 'letterspacing-resize' into 'master'

css: Letterspacing affects text size

See merge request GNOME/gtk!762

6 years agoMerge branch 'wip/carlosg/tablet-cursors-hidpi-master' into 'master'
Carlos Garnacho [Thu, 18 Apr 2019 17:35:45 +0000 (17:35 +0000)]
Merge branch 'wip/carlosg/tablet-cursors-hidpi-master' into 'master'

gdk/wayland: Listen to wl_surface events on tablet cursors

Closes #1675

See merge request GNOME/gtk!761

6 years agocss: Letterspacing affects text size
Matthias Clasen [Thu, 18 Apr 2019 17:34:44 +0000 (17:34 +0000)]
css: Letterspacing affects text size

It does. And we were missing the proper
flags to make GTK do the right thing when
changing letter-spacing in the inspector.

6 years agogdk/wayland: Listen to wl_surface events on tablet cursors
Carlos Garnacho [Thu, 18 Apr 2019 17:31:55 +0000 (19:31 +0200)]
gdk/wayland: Listen to wl_surface events on tablet cursors

And update the surface accordingly (eg. scale on hidpi). The mechanism
that did that for wl_pointer has been made generic so it can be shared
with tablets too.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1675
6 years agoMerge branch 'handle-tool-scale-fix' into 'master'
Matthias Clasen [Thu, 18 Apr 2019 16:55:28 +0000 (16:55 +0000)]
Merge branch 'handle-tool-scale-fix' into 'master'

gdkdevice-wayland: Update pointer scale on tablet tool proximity events

See merge request GNOME/gtk!582

6 years agoMerge branch 'wayland-cursor-hotspot' into 'master'
Jonas Ådahl [Thu, 18 Apr 2019 14:35:06 +0000 (14:35 +0000)]
Merge branch 'wayland-cursor-hotspot' into 'master'

wayland: Avoid using uninitialized memory

Closes #1328

See merge request GNOME/gtk!757

6 years agowayland: Avoid using uninitialized memory
Matthias Clasen [Thu, 18 Apr 2019 14:22:48 +0000 (14:22 +0000)]
wayland: Avoid using uninitialized memory

_gdk_wayland_cursor_get_buffer was not initializing
its out variables in the 'not found' case. This
was showing up in protocol traces as garbage hotspots
being sent to the compositor.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1328
6 years agotestsuite: Add theme-validate test
Benjamin Otte [Thu, 18 Apr 2019 00:18:42 +0000 (02:18 +0200)]
testsuite: Add theme-validate test

The test just loads all of GTK's themes and makes sure they cause no
errors or warnings from the CSS parser.

6 years agothemes: Regenerate CSS
Benjamin Otte [Thu, 18 Apr 2019 00:24:41 +0000 (02:24 +0200)]
themes: Regenerate CSS

Seems to have been forgotten a few times.

6 years agocssprovider: Export correct API
Benjamin Otte [Thu, 18 Apr 2019 00:05:58 +0000 (02:05 +0200)]
cssprovider: Export correct API

gtk_css_provider_get_named() is the old GTK3 style API to load themes.

Instead, export the function we currently use,
gtk_css_provider_load_named().

As a side effect we allow people to load a theme as often as they want
without conflicting with GTK's theme.

6 years agoSurvive absence of librsvg without criticals
Matthias Clasen [Thu, 18 Apr 2019 00:12:34 +0000 (00:12 +0000)]
Survive absence of librsvg without criticals

We can't guarantee that we can load svgs, so
we shouldn't spew criticals when some of our
own resources fail to load due to that reason.

6 years agoAvoid a crash without librsvg
Matthias Clasen [Thu, 18 Apr 2019 00:08:16 +0000 (00:08 +0000)]
Avoid a crash without librsvg

gtk_css_image_recolor_load_texture may leave
recolor->text as NULL without setting error.
No need to crash for that.

6 years agoHighContrast: Fix a typo
Matthias Clasen [Wed, 17 Apr 2019 23:54:10 +0000 (23:54 +0000)]
HighContrast: Fix a typo

The new css parser complains about an unknown pseudo-class
here.

6 years agotextview: Refine touch popup
Matthias Clasen [Wed, 17 Apr 2019 23:21:29 +0000 (23:21 +0000)]
textview: Refine touch popup

The touch popup was meant to have linked buttons.

6 years agotext: Refine the touch popup
Matthias Clasen [Wed, 17 Apr 2019 23:20:04 +0000 (23:20 +0000)]
text: Refine the touch popup

The touch popup was meant to have linked buttons.

6 years agoAdd a png version of process-working-symbolic
Matthias Clasen [Wed, 17 Apr 2019 22:27:19 +0000 (22:27 +0000)]
Add a png version of process-working-symbolic

Otherwise, we get a spinning missing-image without
librsvg.

6 years agoMerge branch 'wip/otte/werror' into 'master'
Matthias Clasen [Wed, 17 Apr 2019 17:37:01 +0000 (17:37 +0000)]
Merge branch 'wip/otte/werror' into 'master'

CI: Build with --werror

See merge request GNOME/gtk!755

6 years agoCI: Build with --werror
Benjamin Otte [Wed, 17 Apr 2019 16:53:53 +0000 (18:53 +0200)]
CI: Build with --werror

This turns on --werror in the Fedora CI builds.

6 years agoMerge branch 'wip/otte/warnings' into 'master'
Benjamin Otte [Wed, 17 Apr 2019 16:51:06 +0000 (16:51 +0000)]
Merge branch 'wip/otte/warnings' into 'master'

Add more gcc error flags

See merge request GNOME/gtk!537

6 years agoRemove two more plusses
Matthias Clasen [Wed, 17 Apr 2019 01:27:17 +0000 (21:27 -0400)]
Remove two more plusses

6 years agoMerge branch 'icon-browser-tweaks' into 'master'
Matthias Clasen [Wed, 17 Apr 2019 01:19:13 +0000 (01:19 +0000)]
Merge branch 'icon-browser-tweaks' into 'master'

Icon browser tweaks

See merge request GNOME/gtk!754

6 years agodialog: Fix a doc typo
Matthias Clasen [Wed, 17 Apr 2019 01:13:40 +0000 (21:13 -0400)]
dialog: Fix a doc typo

6 years agobuilder-tool: Tweak --help output
Matthias Clasen [Wed, 17 Apr 2019 01:13:16 +0000 (21:13 -0400)]
builder-tool: Tweak --help output

6 years agoMerge branch 'gtk-demo-inspector' into 'master'
Matthias Clasen [Wed, 17 Apr 2019 01:07:26 +0000 (01:07 +0000)]
Merge branch 'gtk-demo-inspector' into 'master'

gtk-demo: Add a gear menu

See merge request GNOME/gtk!753

6 years agoicon-browser: Left-align the sidebar
Matthias Clasen [Wed, 17 Apr 2019 01:00:47 +0000 (21:00 -0400)]
icon-browser: Left-align the sidebar

The centered labels just look disorderly.

6 years agoicon-browser: Recover from GtkDialog api change
Matthias Clasen [Wed, 17 Apr 2019 00:59:57 +0000 (20:59 -0400)]
icon-browser: Recover from GtkDialog api change

When we moved content_area to a sibling of action area,
it changed orientation from vertical to horizontal.
Adapt to this change.

6 years agogtk-demo: Add a gear menu
Matthias Clasen [Wed, 17 Apr 2019 00:34:59 +0000 (20:34 -0400)]
gtk-demo: Add a gear menu

Modernize the about dialog, and make it available
from a gear menu, together with a way to bring up
the inspector.

6 years agoMerge branch 'widget-factory-inspector' into 'master'
Matthias Clasen [Tue, 16 Apr 2019 23:47:14 +0000 (23:47 +0000)]
Merge branch 'widget-factory-inspector' into 'master'

Widget factory inspector

See merge request GNOME/gtk!752

6 years agowidget-factory: Update copyright line
Matthias Clasen [Tue, 16 Apr 2019 22:09:46 +0000 (18:09 -0400)]
widget-factory: Update copyright line

Update the years to 2019, and use some better typography.

6 years agowidget-factory: Add an Inspector menu item
Matthias Clasen [Tue, 16 Apr 2019 22:06:12 +0000 (18:06 -0400)]
widget-factory: Add an Inspector menu item

Just because we can.

6 years agogrid: Fix annotation typo
Timm Bäder [Tue, 16 Apr 2019 05:16:51 +0000 (07:16 +0200)]
grid: Fix annotation typo

6 years agoAdd licensing and copyright notice to report generators
Emmanuele Bassi [Tue, 16 Apr 2019 10:43:23 +0000 (11:43 +0100)]
Add licensing and copyright notice to report generators

So that other projects can use them.

6 years agobuild: Add new gcc error flags
Benjamin Otte [Sat, 26 Jan 2019 14:09:55 +0000 (15:09 +0100)]
build: Add new gcc error flags

These flags check for code that we don't want to write, so turn them
into error flags.

Variable length arrays should be replaced by malloc() - or explicit
alloca() calls if you know what you're doing.

Implicit fallthrough should be replaced by explicit fallthrough with the
usage of G_GNU_FALLTHROUGH.

This work inspired by Kees Cook's LCA2019 talk:
https://www.youtube.com/watch?v=FY9SbqTO5GQ
http://outflux.net/slides/2019/lca/danger.pdf

6 years agoAdd missing G_GNUC_FALLTHROUGH statements
Benjamin Otte [Sat, 26 Jan 2019 14:09:33 +0000 (15:09 +0100)]
Add missing G_GNUC_FALLTHROUGH statements

6 years agoConvert fallthrough comments to G_GNUC_FALLTHROUGH
Benjamin Otte [Sat, 26 Jan 2019 14:05:06 +0000 (15:05 +0100)]
Convert fallthrough comments to G_GNUC_FALLTHROUGH

This way it's very obvious that fallthrough is indeed what we want.

Also bump the glib requirement to 2.59 which introduced
G_GNUC_FALLTHROUGH.

6 years agofilechoosernativewin32: Add missing break statement
Benjamin Otte [Sat, 26 Jan 2019 14:37:05 +0000 (15:37 +0100)]
filechoosernativewin32: Add missing break statement

6 years agonotebook: Add missing return statement
Benjamin Otte [Sat, 26 Jan 2019 14:07:52 +0000 (15:07 +0100)]
notebook: Add missing return statement

Previously, the code would just fall thrrough and repeat an operation it
had tried before, but that seems quite unnecessary.

6 years agotextview: Add missing break statement
Benjamin Otte [Sat, 26 Jan 2019 13:30:06 +0000 (14:30 +0100)]
textview: Add missing break statement

6 years agovulkan: Add missing break statement
Benjamin Otte [Sat, 26 Jan 2019 13:28:48 +0000 (14:28 +0100)]
vulkan: Add missing break statement

6 years agomenu: Remove unused function parameter
Benjamin Otte [Mon, 15 Apr 2019 02:19:28 +0000 (04:19 +0200)]
menu: Remove unused function parameter

The parameter was only ever set to TRUE.

And to make matters even more fun, the function didn't ever look
at the parameter.

6 years agomenu: Move enum into only source file using it
Benjamin Otte [Sun, 14 Apr 2019 22:45:46 +0000 (00:45 +0200)]
menu: Move enum into only source file using it

6 years agomenu: remove bottom attach
Benjamin Otte [Sun, 14 Apr 2019 22:42:57 +0000 (00:42 +0200)]
menu: remove bottom attach

bottom attach is top attach + 1, so use that everywhere

6 years agomenu: get rid of 2 variables
Benjamin Otte [Sat, 13 Apr 2019 10:36:34 +0000 (12:36 +0200)]
menu: get rid of 2 variables

They are always 0 and 1 respectively, so treat the code like that.

6 years agomenu: Yeah cool, you're the last child
Benjamin Otte [Sat, 13 Apr 2019 10:26:10 +0000 (12:26 +0200)]
menu: Yeah cool, you're the last child

Nobody cares.

6 years agomenu: Remove attach properties
Benjamin Otte [Sat, 13 Apr 2019 10:17:57 +0000 (12:17 +0200)]
menu: Remove attach properties

They're never changed from being -1. So just replace them with -1
everywhere.

6 years agomenubar: Remove pack direction
Benjamin Otte [Sat, 13 Apr 2019 09:58:38 +0000 (11:58 +0200)]
menubar: Remove pack direction

6 years agotests: Remove popupat test
Benjamin Otte [Sat, 13 Apr 2019 09:58:12 +0000 (11:58 +0200)]
tests: Remove popupat test

The test hasn't worked for a while and nobody cared to fix it.

Neither do I.

6 years agoci: Restructure the HTML report
Emmanuele Bassi [Sun, 14 Apr 2019 19:56:11 +0000 (20:56 +0100)]
ci: Restructure the HTML report

We should show all the possible result sections:

 - passed
 - skipped
 - expected failures
 - failures
 - timed out

Even if we consider the first three to be successes.

6 years agoci: Tweak the HTML report style
Emmanuele Bassi [Sun, 14 Apr 2019 19:37:21 +0000 (20:37 +0100)]
ci: Tweak the HTML report style

The header needs to take into account the job id field.

6 years agoci: Style the test report
Emmanuele Bassi [Sun, 14 Apr 2019 19:29:14 +0000 (20:29 +0100)]
ci: Style the test report

My web design skills are terrible, but it's better than nothing; I'm
sure this will lead to somebody filing a merge request to make the
test report look a lot better.

While we're at it, let's include the reftest images inside the report
itself, so we don't have to hunt them down.

6 years agoMerge branch 'harfbuzz-deprecations' into 'master'
Emmanuele Bassi [Sat, 13 Apr 2019 13:45:32 +0000 (13:45 +0000)]
Merge branch 'harfbuzz-deprecations' into 'master'

Handle deprecated HarfBuzz API

See merge request GNOME/gtk!748

6 years agodemo: Ignore deprecated HarfBuzz API
Emmanuele Bassi [Fri, 12 Apr 2019 17:42:38 +0000 (18:42 +0100)]
demo: Ignore deprecated HarfBuzz API

We should avoid warnings just because we're building against bleeding
edge HarfBuzz.

6 years agoIgnore deprecated HarfBuzz API
Emmanuele Bassi [Fri, 12 Apr 2019 17:40:08 +0000 (18:40 +0100)]
Ignore deprecated HarfBuzz API

HarfBuzz 2.0 deprecated some API used by the GtkFontChooser, but since
we're still supporting older versions of HarfBuzz, we should disable the
deprecation warnings to avoid too much noise during builds.

6 years agoci: Generate valid HTML for the report
Emmanuele Bassi [Sat, 13 Apr 2019 13:28:53 +0000 (14:28 +0100)]
ci: Generate valid HTML for the report

Fix a typo in the closing <ul>, and add a missing closing <div>.

6 years agoci: Use the v5 CI image
Emmanuele Bassi [Sat, 13 Apr 2019 13:18:14 +0000 (14:18 +0100)]
ci: Use the v5 CI image

Otherwise the dependencies for the HTML report won't be available.

6 years agoci: Add an HTML report generator
Emmanuele Bassi [Sat, 13 Apr 2019 13:11:30 +0000 (14:11 +0100)]
ci: Add an HTML report generator

The JUnit cover report is useful, but only up to a point; for instance,
it's not used unless it's part of a merge request. This means you don't
get a report if you're pushing to a branch that does not have an MR open.

With a simple Python script and some minimal templating, we can generate
an HTML report from the "I Can't Believe it's not JSON™" log that Meson
produces, and keep it as a CI artifact.

6 years agopasswordentry: Add missing break statement
Benjamin Otte [Sat, 13 Apr 2019 08:51:37 +0000 (10:51 +0200)]
passwordentry: Add missing break statement

6 years agotext: Remove useless gtk_widget_get_allocation call
Timm Bäder [Sat, 13 Apr 2019 04:26:27 +0000 (06:26 +0200)]
text: Remove useless gtk_widget_get_allocation call

6 years agolistbox: Fix compiler warning
Timm Bäder [Sat, 13 Apr 2019 04:26:17 +0000 (06:26 +0200)]
listbox: Fix compiler warning

6 years agoentry: Remove some unused constants
Timm Bäder [Sat, 13 Apr 2019 04:18:43 +0000 (06:18 +0200)]
entry: Remove some unused constants

6 years agogl renderer: Declare color matrix child separately
Timm Bäder [Sun, 31 Mar 2019 05:50:33 +0000 (07:50 +0200)]
gl renderer: Declare color matrix child separately

Otherwise I'm doing this all the time when debugging.

6 years agoMerge branch 'listbox-separators' into 'master'
Benjamin Otte [Sat, 13 Apr 2019 00:38:14 +0000 (00:38 +0000)]
Merge branch 'listbox-separators' into 'master'

Listbox separators

See merge request GNOME/gtk!747

6 years agoMerge branch 'test-locale-change' into 'master'
Matthias Clasen [Sat, 13 Apr 2019 00:28:08 +0000 (00:28 +0000)]
Merge branch 'test-locale-change' into 'master'

testutils: Run in UTF8 locale

See merge request GNOME/gtk!734

6 years agoinspector: Use the new show-separators property
Matthias Clasen [Sat, 13 Apr 2019 00:25:54 +0000 (20:25 -0400)]
inspector: Use the new show-separators property

Add separators to the list boxes on the Settings page.

6 years agoAdwaita: Implement list separators
Matthias Clasen [Sat, 13 Apr 2019 00:25:16 +0000 (20:25 -0400)]
Adwaita: Implement list separators

Just put a top border on every row.

6 years agolistbox: Add a ::show-separators property
Matthias Clasen [Sat, 13 Apr 2019 00:24:40 +0000 (20:24 -0400)]
listbox: Add a ::show-separators property

This is getting translated into a .separators style
class on the list box css node.

6 years agoMerge branch 'fix-reftests' into 'master'
Benjamin Otte [Sat, 13 Apr 2019 00:02:19 +0000 (00:02 +0000)]
Merge branch 'fix-reftests' into 'master'

Fix reftests

See merge request GNOME/gtk!746

6 years agoreftests: Be more graceful about errors
Benjamin Otte [Fri, 12 Apr 2019 23:48:28 +0000 (01:48 +0200)]
reftests: Be more graceful about errors

The nice thing about that is that we can then log messages about the
errors to the log.

And then we can read the logs of the CI machinery and actually know
what's going on.

6 years agoinspector: Fix editing in the property list
Matthias Clasen [Fri, 12 Apr 2019 23:48:23 +0000 (19:48 -0400)]
inspector: Fix editing in the property list

The type-to-search was interfering with using
entries in the list. Avoid that by watching
where the focus is.

6 years agotestutils: Run in UTF8 locale
Benjamin Otte [Fri, 12 Apr 2019 04:08:28 +0000 (06:08 +0200)]
testutils: Run in UTF8 locale

before, code was using the "C" locale, but that one uses ASCII. Instead,
run in the "C.utf8" locale.

Nobody expects code to not support UTF8 and no end user runs their
machine in an ASCII setup, so it makes no sense to default to that.

6 years agotestsuite: Fix label-shadows test
Benjamin Otte [Fri, 12 Apr 2019 23:31:49 +0000 (01:31 +0200)]
testsuite: Fix label-shadows test

Use a GtkFixed to position and rotate the labels. This is necessary
because the GtkLabel::angle property was removed.

6 years agoMerge branch 'gtkcomposetable-checked-mul' into 'master'
Matthias Clasen [Fri, 12 Apr 2019 22:19:31 +0000 (22:19 +0000)]
Merge branch 'gtkcomposetable-checked-mul' into 'master'

gtkcomposetable: use g_size_checked_mul() for overflow checking

See merge request GNOME/gtk!745

6 years agoreftests: Fix textview-margins test
Benjamin Otte [Fri, 12 Apr 2019 20:00:53 +0000 (22:00 +0200)]
reftests: Fix textview-margins test

The text is wider now that we changed the font properties, so account
for that.

6 years agogtkcomposetable: use g_size_checked_mul() for overflow checking
Christoph Reiter [Fri, 12 Apr 2019 20:38:44 +0000 (22:38 +0200)]
gtkcomposetable: use g_size_checked_mul() for overflow checking

The check was added in !741, this replaces it with g_size_checked_mul()

6 years agoRevert "reftests: Fix textview-margins test"
Benjamin Otte [Fri, 12 Apr 2019 20:38:11 +0000 (22:38 +0200)]
Revert "reftests: Fix textview-margins test"

This reverts commit c6471ee874702d4c4c2ec49d7a299926606461e9.

Doesn't work on CI.

6 years agoreftests: Fix textview-margins test
Benjamin Otte [Fri, 12 Apr 2019 20:00:53 +0000 (22:00 +0200)]
reftests: Fix textview-margins test

The text is wider now that we changed the font properties, so account
for that.

6 years agoMerge branch 'cache-reftest-images' into 'master'
Emmanuele Bassi [Fri, 12 Apr 2019 20:09:50 +0000 (20:09 +0000)]
Merge branch 'cache-reftest-images' into 'master'

ci: Cache the reftest artifacts

See merge request GNOME/gtk!744

6 years agoci: Cache the reftest artifacts
Emmanuele Bassi [Fri, 12 Apr 2019 19:58:29 +0000 (20:58 +0100)]
ci: Cache the reftest artifacts

Keeping the reftest output images as artifacts of a job allows us to
browse them and download them straight from GitLab.

6 years agoMerge branch 'ci-update' into 'master'
Emmanuele Bassi [Fri, 12 Apr 2019 19:30:31 +0000 (19:30 +0000)]
Merge branch 'ci-update' into 'master'

ci: Install Monospace fonts

See merge request GNOME/gtk!742

6 years agoMerge branch 'fix-meson-on-macos-2' into 'master'
Emmanuele Bassi [Fri, 12 Apr 2019 19:30:19 +0000 (19:30 +0000)]
Merge branch 'fix-meson-on-macos-2' into 'master'

reftests: Use shared_library, not shared_module

See merge request GNOME/gtk!743

6 years agoci: Update list of xfail tests
Emmanuele Bassi [Fri, 12 Apr 2019 19:21:29 +0000 (20:21 +0100)]
ci: Update list of xfail tests

The label tests do not fail any more, because the CI image has Monospace
fonts; the textview-margins test started to fail on the CI image,
though.

6 years agoMerge branch 'validate-alloc-size' into 'master'
Matthias Clasen [Fri, 12 Apr 2019 19:11:30 +0000 (19:11 +0000)]
Merge branch 'validate-alloc-size' into 'master'

Check the size of the g_new arguments

See merge request GNOME/gtk!741

6 years agoci: Install Monospace fonts
Emmanuele Bassi [Fri, 12 Apr 2019 19:03:11 +0000 (20:03 +0100)]
ci: Install Monospace fonts

The reftests require them.

6 years agoinspector: Show readonly property values
Matthias Clasen [Fri, 12 Apr 2019 19:07:01 +0000 (15:07 -0400)]
inspector: Show readonly property values

6 years agoinspector: Cosmetics
Matthias Clasen [Fri, 12 Apr 2019 18:56:23 +0000 (14:56 -0400)]
inspector: Cosmetics

6 years agoinspector: Revamp attribute and action info
Matthias Clasen [Fri, 12 Apr 2019 18:34:11 +0000 (14:34 -0400)]
inspector: Revamp attribute and action info

This also needs to be turned into single-line data.